package chap1_strategy.duck2.children;

import chap1_strategy.duck2.Duck;
import chap1_strategy.duck2.FlyNoWay;
import chap1_strategy.duck2.Quack;

/**
 * 모형오리
 */
public class ModelDuck extends Duck {
    
    public ModelDuck() {
        flyBehavior = new FlyNoWay();
        quackBehavior = new Quack();
    }

    @Override
    public void display() {
        System.out.println("** 모형오리 모양...");
    }

}
